package cn.aifeix.lxyc.domain;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author director
 * @since 2022-12-10
 */
@TableName("t_service_plan")
public class ServicePlan extends Model<ServicePlan> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("car_type_name")
    private String carTypeName;
    /**
     * 服务所需产品
     */
    @TableField("service_products")
    private String serviceProducts;
    /**
     * 产品费
     */
    @TableField("product_price")
    private BigDecimal productPrice;
    /**
     * 人工费
     */
    @TableField("labor_cost")
    private BigDecimal laborCost;
    /**
     * 所需服务
     */
    @TableField("service_id")
    private Long serviceId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCarTypeName() {
        return carTypeName;
    }

    public void setCarTypeName(String carTypeName) {
        this.carTypeName = carTypeName;
    }

    public String getServiceProducts() {
        return serviceProducts;
    }

    public void setServiceProducts(String serviceProducts) {
        this.serviceProducts = serviceProducts;
    }

    public BigDecimal getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(BigDecimal productPrice) {
        this.productPrice = productPrice;
    }

    public BigDecimal getLaborCost() {
        return laborCost;
    }

    public void setLaborCost(BigDecimal laborCost) {
        this.laborCost = laborCost;
    }

    public Long getServiceId() {
        return serviceId;
    }

    public void setServiceId(Long serviceId) {
        this.serviceId = serviceId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ServicePlan{" +
        ", id=" + id +
        ", carTypeName=" + carTypeName +
        ", serviceProducts=" + serviceProducts +
        ", productPrice=" + productPrice +
        ", laborCost=" + laborCost +
        ", serviceId=" + serviceId +
        "}";
    }
}
